html {
    overflow-x: hidden;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
    border-color: #ccc;
    margin-top: -80px;
}

.navbar {
    margin-bottom: unset;
    background-color: #1E3451;
}

h1 {
    opacity: 1;
}

.homepage-title {
    font-weight: 800;
    color: #000;
}

.grey-background {
    background-image: linear-gradient(180deg, rgba(255, 0, 0, 0), rgb(30 52 81));
}

#myCarousel .nav a small {
    display: block;
}

#myCarousel .nav {
    background: #eee;
}

#myCarousel .nav a {
    border-radius: 0px;
}

.carousel-text-one {
    color: #fff !important;
}

.carousel-text-two {
    color: #fff !important;
}

.carousel-text-three {
    color: #fff !important;
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus {
    color: #fff !important;
    background-color: #1E3451;
    transition: 0.6s;
}

h2.block-one {
    margin-left: 30px;
    font-family: "OpenSans", sans-serif;
}

p.block-one-text {
    margin-left: 30px;
    font-family: "OpenSans", sans-serif;
}

a#opportunitiesbtn {
    background: #007e8f;
    color: #fff;
}

a#opportunitiesbtn:hover {
    background: #fff;
    color: #000;
    transition: 0.6s;
}

img#imageOne {
    width: 100%;
}

img#imageTwo {
    width: 100%;
}

#opp-btn {
    color: white;
    width: 100%;
    text-align: left;
    border-radius: 0px;
    font-size: 24px;
    background: #1E3451;
    margin-top: 7px;
}

#opp-btn:hover {
    background: #fff;
    color: #1E3451;
    transition: 0.6s;
}

#opp-btn2 {
    color: white;
    width: 100%;
    text-align: left;
    border-radius: 0px;
    font-size: 24px;
    background: #1E3451;

}

#opp-btn2:hover {
    background: #fff;
    color: #1E3451;
    transition: 0.6s;
}
a.btn.btn-primary {
    margin-bottom: 0px !important;
}
#find-btn {
    color: white;
    width: 100%;
    text-align: left;
    border-radius: 0px;
    font-size: 24px;
    background: #1E3451;
    margin-top: 7px;
}

a#find-btn:hover {
    background: #fff;
    color: #1E3451;
    transition: 0.6s;
}

/* h2#vacancies-title-one {
    text-align: left;
    font-family: "OpenSans",sans-serif;
}
h2#vacancies-title-two {
    text-align: left;
    font-family: "OpenSans",sans-serif;
}
p#vacancies-text-one {
    text-align: left;
    font-family: "OpenSans",sans-serif;
}
p#vacancies-text-two {
    text-align: left;
    margin-left: 55px;
    font-family: "OpenSans",sans-serif;
} */
a.btn.btn-primary.vacancy-panel-applybutton.link {
    background: #1E3451;
}

.vacancy-panel-title {
    color: #1E3451;
    font-size: 1.375em;
    min-height: 60px;
    display: inline-block;
    font-weight: bold;
    font-family: "OpenSans", sans-serif;
}
.vacancy-panel {
    min-height: 315px;
    color: #1c2630;
    font-size: 1.125em;
    border: 4px solid #000035;
    border-radius: 16px !important;
}

.panel {
    border-radius: 7px;
    box-shadow: 0 4px 15px rgb(0 0 0 / 50%);
    border: transparent !important;
}

hr.vacancy-panel-divider {
    background: linear-gradient(to right, #1E3451, #3e69a4);
    height: 2px;
}

hr.opportunities {
    margin-top: 0px;
    border-top: 0px solid #000;
}

h2.homepage-title-two {
    text-align: center;
    font-weight: 800;
    color: #1e3451;
    font-family: "OpenSans", sans-serif;
    margin-top: 50px;
}

h2.homepage-title-three {
    font-weight: 600;
    color: #1e3451;
    font-family: "OpenSans", sans-serif;
    font-size: 48px;
}
h2.homepage-title-four {
    text-align: center;
    font-weight: 800;
    color: #1e3451;
    font-family: "OpenSans", sans-serif;
    margin-top: 50px;
}
h2.homepage-title-five {
    text-align: center;
    font-weight: 800;
    color: #1e3451;
    font-family: "OpenSans", sans-serif;
    margin-top: 50px;
}
hr.register-divider {
    width: 170px;
    border-top: 1px solid #000;
    color: #000;
}
.card-body {
    text-align: center;
    border: 2px solid #1e3451;
    margin-bottom: 30px;
    border-width: 8px;
    border-style: double;
    border-radius: 16px;
    min-height: 240px;
    padding-bottom: 30px;
}
h3 {
    font-size: 2em;
    font-family: "OpenSans", sans-serif;
    font-weight: bold;
    color: #000;
}
hr.dashed-line {
    height: 0;
    width: 100%;
    display: block;
    border-top: 2px dashed #D4DAE2;
    margin: 30px 0;
    content: '';
}

p.register-text {
    text-align: center;
    color: #000;
    font-family: "OpenSans", sans-serif;
}

.text-block {
    line-height: 2em;
}

p#pageContentFour {
    padding-top: 10px;
}

p#pageContentFive {
    padding-top: 10px;
}

#myCarousel .nav a {
    border-radius: 0px;
    font-family: "OpenSans", sans-serif;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
img.esf-logo {
    padding-top: 20px;
}

img#imageThreeTwo {
    width: 100%;
}

img#carouselImgOne {
    width: 100%;
    opacity: 0.6;
}

img#carouselImgTwo {
    width: 100%;
    height: 585px;
    opacity: 0.6;
}

img#carouselImgThree {
    width: 100%;
    height: 585px;
    opacity: 0.6;
}

h3.carousel-title-one {
    color: #fff;
}

h3.carousel-title-two {
    color: #fff;
}

h3.carousel-title-three {
    color: #fff;
}

a.btn.btn-primary.vacancy-panel-applybutton.link:hover {
    background: #fff;
    color: #1E3451;
    border: 2px solid #1E3451;
    transition: 0.6s;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1e3451;
}
iframe {
    border: none;
    width: 750px !important;
    height: 425px !important;
    border: 2px solid #1e3451;
    border-style: double;
    border-width: 12px;
    border-radius: 16px;
}
.video-one {
    width: 100%;
    animation-duration: 1s;
    animation-name: slidein;
}
.video-two{
    width: 100%;
    animation-duration: 1s;
    animation-name: slidein;
}
p.card-text {
    padding-left: 30px;
    padding-right: 30px;
}
a#btn1 {
    background: #1E3451;
    color: #fff;
    margin-top: 26px;
}
a#btn3 {
    background: #1E3451;
    color: #fff;
    margin-top: 26px;
}
a#btn5 {
    margin-top: 28px;
}
a#btn6 {
    padding-left: 10px;
    padding-right: 10px;
}
@keyframes slidein {
    from {
        translate: 150vw 0;
        scale: 200% 1;
    }

    to {
        translate: 0 0;
        scale: 100% 1;
    }
}
@media screen and (min-device-width: 2374px) and (max-device-width: 2560px) {
    #opp-btn2 {
        margin-top: 0px !important;
    }
}

@media screen and (min-device-width: 2242px) and (max-device-width: 2373px) {
    #find-btn {
        margin-top: 7px !important;
    }
}

@media screen and (min-device-width: 1658px) and (max-device-width: 1880px) {
    #find-btn {
        margin-top: 27px;
    }

    #opp-btn {
        margin-top: 27px;
    }
}

@media screen and (max-width: 1657px) {
    a#find-btn {
        margin-top: 32px !important;
    }

    #opp-btn2 {
        margin-top: 27px !important;
    }
}

@media screen and (max-width: 1640px) {
    #opp-btn2 {
        margin-top: 0px !important;
    }
}

@media screen and (min-device-width: 1441px) and (max-device-width: 1536px) {
    #opp-btn {
        margin-top: 8px;
    }

    #opp-btn2 {
        margin-top: 37px;
    }
    img#carouselImgTwo {
        height: 440px;
    }
    img#carouselImgThree{
        height: 440px;
    }
}

@media screen and (min-device-width: 1439px) and (max-device-width: 1440px) {
    .navbar-nav {
        float: right;
        margin-top: -6%;
    }
}

@media screen and (max-width: 1440px) {
    a#opp-btn {
        margin-top: 2%;
    }

    a#opp-btn2 {
        margin-top: 12%;
    }

    a#find-btn {
        margin-top: 34px !important;
    }
}
@media screen and (max-width: 1415px) {
a#find-btn {
    margin-top: 0px !important;
}
}
@media only screen and (max-width: 1344px) {
.carousel-caption {
    top: 10%;
}
img#carouselImgTwo {
    height: 400px;
}
img#carouselImgThree {
    height: 400px;
}
}
@media screen and (max-width: 1314px) {
    a#find-btn {
        margin-top: 8.5% !important;
    }

    a#opp-btn {
        margin-top: 11%;
    }
}

@media screen and (min-device-width: 1212px) and (max-device-width: 1280px) {
    #find-btn {
        margin-top: 46px;
    }

    a#opp-btn2 {
        margin-top: 3%;
    }
}

@media screen and (max-width: 1280px) {
    h3.carousel-title-one {
        margin-top: 0%;
    }

    h3.carousel-title-two {
        margin-top: 0%;
    }

    h3.carousel-title-three {
        margin-top: 0%;
    }

    img#carouselImgTwo {
        height: 360px;
    }
    img#carouselImgThree{
        height: 360px;
    }
}

@media screen and (max-width: 1211px) {
    a#find-btn {
        margin-top: 0.5% !important;
    }
}

@media screen and (max-width: 1177px) {
    a#opp-btn {
        margin-top: 4%;
    }
}

@media screen and (max-width: 1143px) {
    a#find-btn {
        margin-top: 11.5% !important;
    }

    #opp-btn2 {
        margin-top: 32px !important;
    }
}


@media screen and (min-device-width: 1023px) and (max-device-width: 1024px) {
    .navbar-nav {
        float: right;
        margin-top: -6%;
    }

}

@media screen and (max-width: 1024px) {
    h3.carousel-title-one {
        margin-top: 0%;
    }
    h3.carousel-title-two{
        margin-top: 0%;
    }
    h3.carousel-title-three {
        margin-top: 0%;
    }
    a#find-btn {
        margin-top: 13% !important;
    }

    a#opp-btn {
        margin-top: 4%;
    }

    #opp-btn2 {
        margin-top: -5px !important;
    }
    img#imageTwo {
        width: 100% !important;
        margin-top: 0px !important;
    }

    .carousel-caption {
        right: 20%;
        left: 20%;
        top: 0% !important;
        padding-bottom: 30px;
    }

    a#opportunitiesbtn {
        background: #1E3451;
        margin-top: -3%;
    }

    img#carouselImgOne {
        height: 325px;
    }

    img#carouselImgTwo {
        height: 325px;
    }

    img#carouselImgThree {
        height: 325px;
    }


    a#find-btn {
        margin-top: 29%;
    }
}

@media screen and (min-device-width: 821px) and (max-device-width: 912px) {
    a#find-btn {
        margin-top: 0%;
    }

    a#opp-btn {
        margin-top: 0%;
    }

    a#opp-btn2 {
        margin-top: 0%;
    }
}

@media screen and (min-device-width: 767px) and (max-device-width: 768px) {
    img#imageTwo {
        width: 100% !important;
        margin-left: 0% !important;
    }

    .navbar-nav {
        margin-top: -60px;
    }
}

@media screen and (max-width: 768px) {
    .carousel-caption {
        right: 20%;
        left: 20%;
        top: 30%;
        padding-bottom: 30px;
    }

    img#carouselImgOne {
        height: 280px;
    }

    img#carouselImgTwo {
        height: 280px;
    }

    img#carouselImgThree {
        height: 280px;
    }

    .carousel-text-one {
        color: #fff !important;
        font-size: 14px;
    }

    .carousel-text-two {
        color: #fff !important;
        font-size: 14px;
    }

    .carousel-text-three {
        color: #fff !important;
        font-size: 14px;
    }

    .firstPanel {
        left: -2%;
        position: relative;
    }

    .secondPanel {
        left: -2%;
        position: relative;
    }

    .thirdPanel {
        left: -2%;
        position: relative;
    }

    div#carouselCaptionTwo {
        top: 5%;
    }

    div#carouselCaptionThree {
        top: 5%;
    }

    #imageThree {
        margin-left: 0px !important;
        margin-top: 0px;
    }

    .carousel-caption {
        top: -9%;
        font-size: 16px;
    }

    a#find-btn {
        margin-top: 5%;
    }

    a#opp-btn {
        margin-top: 3%;
    }

    a#opp-btn2 {
        margin-top: 3%;
    }

    a#opportunitiesBtn {
        margin-top: -5%;
    }

    a#opportunitiesBtnTwo {
        margin-top: -5%;
    }

    a#opportunitiesBtnThree {
        margin-top: -5%;
    }

    img.esf-logo {
        margin-left: 22%;
    }
}

@media screen and (max-width: 425px) {
    .fa-chevron-right {
        padding-left: 20px;
        margin-top: 5px;
        font-size: 11px !important;
    }

    img#carouselImgOne {
        height: 165px !important;
    }

    .carousel-text-one {
        color: #fff !important;
        font-size: 12px;
    }

    h3.carousel-title-one {
        color: #fff;
        font-size: 16px;
    }

    a#opportunitiesBtn {
        margin-top: -25%;
        font-size: 12px;
        padding: 3px !important;
        width: 100%;
    }

    img#imageTwo {
        width: 100% !important;
        margin-left: 0% !important;
    }

    img#carouselImgTwo {
        height: 350px;
        background-size: cover;
    }

    .carousel-text-two {
        color: #fff !important;
        font-size: 12px;
    }

    img#carouselImgThree {
        height: 350px;
        background-size: cover;
    }

    .carousel-text-three {
        color: #fff !important;
        font-size: 12px;
    }

    img.lewisham-logo {
        margin-left: 11%;
    }

    li#login-btn {
        width: 44%;
    }

    img.esf-logo {
        padding-top: 20px;
        margin-left: 0%;
    }

    h3.carousel-title-one {
        color: #fff;
        font-size: 16px;
        margin-top: 0px;
    }

    a#opportunitiesBtn {
        margin-top: -20%;
        font-size: 12px;
        padding: 10px !important;
        width: 100%;
        margin-left: 0%;
    }

    img#carouselImgTwo {
        height: 165px;
        background-size: cover;
    }

    h3.carousel-title-two {
        color: #fff;
        font-size: 14px;
        margin-top: 0px;
    }

    a#opportunitiesBtnTwo {
        margin-top: -20%;
        font-size: 12px;
        padding: 10px !important;
        width: 100%;
        margin-left: 0%;
    }

    img#carouselImgThree {
        height: 185px;
        background-size: cover;
    }

    h3.carousel-title-three {
        color: #fff;
        font-size: 14px;
        margin-top: -10px;
    }

    a#opportunitiesBtnThree {
        margin-top: -20%;
        font-size: 12px;
        padding: 10px !important;
        width: 100%;
        margin-left: 0%;
    }

}
@media screen and (max-width: 414px) {
img#carouselImgOne {
    height: 185px !important;
}
}

@media screen and (max-width: 412px) {
    .opportunity-btn {
        background: #1E3451;
        margin-left: -50px !important;
    }

    .carousel-text-one {
        font-size: 11px;
    }

    .carousel-text-two {
        font-size: 11px;
    }

    .carousel-text-three {
        font-size: 11px;
    }

    a#opportunitiesBtnTwo {
        margin-left: 0% !important;
    }
}

@media screen and (max-width: 393px) {
    .opportunity-btn {
        background: #1E3451;
        margin-left: -50px !important;
    }
}

@media screen and (max-width: 390px) {
    a#opportunitiesbtn {
        background: #1E3451;
        margin-left: -31px;
    }

}

@media screen and (max-width: 375px) {
    img#carouselImgTwo {
        height: 180px;
        background-size: cover;
    }

    img#carouselImgOne {
        height: 180px !important;
    }

    img#imageThree {
        width: 100px !important;
    }

    a#opportunitiesBtn {
        margin-left: -9%;
    }

    a#opportunitiesBtnTwo {
        margin-left: -4% !important;
        margin-top: -19%;
    }

    a#opportunitiesBtnThree {
        margin-left: -5%;
        margin-top: -20%;
    }

    img.esf-logo {
        padding-top: 20px;
        margin-left: -13%;
    }

    .carousel-text-one {
        color: #fff !important;
        font-size: 11px;
    }

    .carousel-text-two {
        color: #fff !important;
        font-size: 11px;
    }

    .carousel-text-three {
        color: #fff !important;
        font-size: 11px;
    }
}

@media screen and (max-width: 320px) {

    img#imageThree {
        width: 100%;
        width: 100px !important;
    }

    img.lewisham-logo {
        width: 100px;
        margin-top: 10px;
        margin-left: 13%;
    }

    img.esf-logo {
        padding-top: 20px;
        margin-left: 0%;
        width: 100%;
    }

    .text-block {
        line-height: 2em;
        font-size: 16px;
    }

    img#carouselImgTwo {
        height: 180px;
    }

    a#opportunitiesBtn {
        margin-left: -9%;
        margin-top: -20% !important;
        font-size: 12px;
    }

    img#carouselImgThree {
        height: 420px;
        background-size: cover;
    }

    a#opportunitiesBtnTwo {
        margin-left: -13% !important;
        margin-top: -20%;
        font-size: 12px;
        width: 120% !important;
    }

    img#carouselImgThree {
        height: 200px;
        background-size: cover;
    }

    a#opportunitiesBtnThree {
        margin-left: -5%;
        margin-top: -20%;
        font-size: 14px;
    }
}
@media screen and (max-width: 280px) {
img#carouselImgOne {
    height: 200px !important;
}
}